package com.quanyan.vote.mapper;

import com.quanyan.vote.entity.db.TbVoteDayIncre;
import com.quanyan.vote.entity.vo.resp.RespExpertAdmin;
import com.quanyan.vote.entity.vo.resp.RespVoteDetailAdmin;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/7/22.
 */
public interface TbVoteAdminMapper {

    /**
     * 后管达人记录数
     * @param paramMap
     * @return
     */
    int queryCountExpertDetailAdmin(Map<String,Object> paramMap);

    /**
     * 后管查询达人排名
     * @param paramMap
     * @return
     */
    List<RespExpertAdmin> queryExpertDetailAdmin(Map<String,Object> paramMap);

    /**
     * 导出达人排名
     * @param paramMap
     * @return
     */
    List<RespExpertAdmin> importExpertDetailAdmin(Map<String,Object> paramMap);

    /**
     * 后管达人详情记录数
     * @param paramMap
     * @return
     */
    int queryCountExpertDetail(Map<String ,Object> paramMap);

    /**
     * 后管查询达人投票详情
     * @param paramMap
     * @return
     */
    List<RespVoteDetailAdmin> queryVoteDetailAdmin(Map<String ,Object> paramMap);

    /**
     * 导出后管达人详情
     * @param paramMap
     * @return
     */
    List<RespVoteDetailAdmin> importVoteDetailAdmin(Map<String ,Object> paramMap);

    /**
     * 查询达人日增量票数
     * @return
     */
    List<TbVoteDayIncre> queryDayIncrement();
    /**
     * 批量插入达人日增量票数
     * @param tbVoteDayIncres
     * @return
     */
    int insertDayIncrement(List<TbVoteDayIncre> tbVoteDayIncres);

    /**
     * 后管展示达人每日票数
     * @return
     */
    List<TbVoteDayIncre> queryExpertDayIncrement(Map<String ,Object> paramMap);
}
